package com.example.foods.common;

public class Constants {

    /**
     * session容器中存储验证码的key
     */
    public static final String SESSION_KEY_VERIFY_CODE = "session_verify_code";

    /**
     * session容器中存储用户信息的key
     */
    public static final String SESSION_KEY_LOGINED_USER = "session_logined_user";

    /**
     * 验证码图片的宽度和高度
     */
    public static final int VERIFY_IMAGE_WIDTH = 100;
    public static final int VERIFY_IMAGE_HEIGHT = 34;


    /**
     * 上传的图片文件的存储目录
     */
    public static final String UPLOAD_ROOT_DIR="C:/Users/Sunny/IdeaProjects/foods/src/main/resources/static/foods";
    public static int PAGE_SIZE = 5;

    // 商品展示
    public static int SHOW_PAGE_SIZE = 9;

    public static String IMG_USE_PATH = "static/img/";

    public static String DEFAULT_IMG = "img.jpg";
}
